package Java9_13;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.io.InputStream;

public class Work6 {
    public static void main(String[] args) {
        InputStream in = null;
        try {
            in = new FileInputStream("D:\\rubbish\\work6\\ccc.txt");
            int a = 0;
            while ((a = in.read()) != -1) {
                System.out.println(a + (char) a);
            }
        } catch (IOException e) {
            e.printStackTrace();
        } finally {
            try {
                in.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}

